/**
 * 
 */
package com.cnfangmao.masterdata.vo;

import java.util.List;

import io.swagger.annotations.ApiModelProperty;

/**
 * @author user
 *
 */
public class GeneralPageVo<T> {
	
	@ApiModelProperty("当前分页序号")
	private long pageNo;

	@ApiModelProperty("分页记录数")
	private long pageSize;
	
	@ApiModelProperty("总记录数")
	private long totalCount;

	@ApiModelProperty("数据明细")
	private List<T> records;

	/**
	 * @return the pageNo
	 */
	public long getPageNo() {
		return pageNo;
	}

	/**
	 * @param pageNo the pageNo to set
	 */
	public void setPageNo(long pageNo) {
		this.pageNo = pageNo;
	}

	/**
	 * @return the pageSize
	 */
	public long getPageSize() {
		return pageSize;
	}

	/**
	 * @param pageSize the pageSize to set
	 */
	public void setPageSize(long pageSize) {
		this.pageSize = pageSize;
	}

	/**
	 * @return the totalCount
	 */
	public long getTotalCount() {
		return totalCount;
	}

	/**
	 * @param totalCount the totalCount to set
	 */
	public void setTotalCount(long totalCount) {
		this.totalCount = totalCount;
	}

	/**
	 * @return the records
	 */
	public List<T> getRecords() {
		return records;
	}

	/**
	 * @param records the records to set
	 */
	public void setRecords(List<T> records) {
		this.records = records;
	}

}
